﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace CalcSharp.UIControlls
{
    public partial class TextInput : Form
    {
        public TextInput()
        {
            InitializeComponent();
        }

        public TextInput(string Description)
        {
            InitializeComponent();
            this.lblDescript.Text = Description;
        }

        public string Description
        {
            get { return this.lblDescript.Text; }
            set { this.lblDescript.Text = value; }
        }

        public string DialogText
        {
            get { return this.TbValue.Text; }
            set { this.TbValue.Text = value; }
        }

        public AutoCompleteMode AutoCompleteMode
        {
            get { return this.TbValue.AutoCompleteMode; }
            set { this.TbValue.AutoCompleteMode = value; }
        }

        public AutoCompleteSource AutoCompleteSource
        {
            get { return this.TbValue.AutoCompleteSource; }
            set { this.TbValue.AutoCompleteSource = value; }
        }

        public AutoCompleteStringCollection AutoCompleteCustomSource
        {
            get { return this.TbValue.AutoCompleteCustomSource; }
            set { this.TbValue.AutoCompleteCustomSource = value; }
        }
    }
}
